package com.zj.study.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author 赵赳
 * @since 2022/1/10 16:53
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class User {

  @ExcelProperty(value = "用户编号", index = 0)
  private String id;

  @ExcelProperty(value = "用户名", index = 1)
  private String name;

  @ExcelProperty(value = "年龄", index = 2)
  private Integer age;

  @ExcelProperty(value = "用户邮箱", index = 3)
  private String email;



}
